<%--
  Created by IntelliJ IDEA.
  User: My
  Date: 2025/3/31
  Time: 13:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<%
request.setAttribute("name","张三");
%>
<body>
<a href="<%=request.getContextPath()%>/ser">跳转</a>
<input type="button" onclick="window.location.href = '<%=request.getContextPath()%>/ser'" value="百度">
${name}
<br>
<input type="button" onclick="window.location.href = '${pageContext.request.contextPath}/ser'" value="再次">
</body>
</html>
